const ENV = import.meta.env.MODE;
let baseURL = 'wss://ws.apiupmax.top/';
baseURL = ENV == 'development' ? 'ws://localhost:3001/' : 'wss://ws.apiupmax.top/';
export const socket = function () {
  return new WebSocket(baseURL);
}; //配置服务器地址
